package com.itpan.Service;

import com.itpan.Entity.Dto.EmployeeProcedure;
import com.itpan.Entity.Employee;
import com.itpan.Entity.StatsByT;

import java.util.List;
import java.util.Map;

public interface EmployeeService {
    List<Employee> getAllEmployee();

    List<Employee> getAllEmployeePage(Integer page,Integer pageSize);

    void saveEmployees(List<Employee> employeeList);

    Employee getEmployeeById(String id);

    void saveOne(Employee employee);

    void update(Employee employee);

    void deleteById(String id);

    Employee findByName(String Name);

    List<Employee> getbymutil(Employee employee);

    Employee getById(String id);


    Employee getemployeebyemail(String employeeEmail);

    List<StatsByT> gettopofsalary();

//    统计员工的工资区间
    List<StatsByT> getlevelofEmployee();

    List<EmployeeProcedure> gettopsalaryoflevel(Integer level);

}
